//
//  XMGScheduleView.m
//  码哥课堂
//
//  Created by yz on 2016/12/3.
//  Copyright © 2016年 yz. All rights reserved.
//

#import "XMGScheduleView.h"

@implementation XMGScheduleView
+ (instancetype)scheduleView
{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] lastObject];
}
- (IBAction)click:(id)sender {
    if (_block) {
        _block();
    }
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
